package com.huaxiafinance.management.dto.request;

import org.hibernate.validator.constraints.NotEmpty;

public class UpdateUserPasswordDto {
	@NotEmpty(message = "用户名不能为空")
	private String userName;

	@NotEmpty(message = "新密码不能为空")
	private String passwordNew;

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPasswordNew() {
		return passwordNew;
	}

	public void setPasswordNew(String passwordNew) {
		this.passwordNew = passwordNew;
	}

	@Override
	public String toString() {
		return "UpdateUserPasswordDto[" + "userName=" + userName + ",passwordNew=" + passwordNew + "]";
	}
}
